import request from '@/utils/request'
import defaultSettings from '@/settings'

export const apiUrlConfig = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/bsPubliccontrol/probeRequestMsg/ProbeRequestAnswerQuery/search`,
}

export const detailsApiUrlConfig = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/bsPubliccontrol/probeRequestMsg/ProbeRequestAnswerQuery/detailSearch`,
}

// 明细接口
export function detailsQuery(data) {
  return request({
      url: `${defaultSettings.ctx.cnapsApp}/bsPubliccontrol/probeRequestMsg/ProbeRequestAnswerQuery/detail?id=${data.id}`,
      method: 'get',
  })
}